/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconHelpCircle: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'px'} height={size + 'px'} style={style} {...rest}>
      <path
        d="M512 96c229.76 0 416 186.24 416 416s-186.24 416-416 416S96 741.76 96 512 282.24 96 512 96z m0 64C317.6 160 160 317.6 160 512s157.6 352 352 352 352-157.6 352-352S706.4 160 512 160z m0 528a48 48 0 1 1 0 96 48 48 0 0 1 0-96zM512.448 256C599.808 256 672 318.4 672 409.12c0 48.896-33.344 94.72-77.792 120.704l-28.896 15.52-3.968 2.24-6.4 3.872c-7.232 4.704-9.6 7.584-10.08 10.368l-0.064 1.024-0.192 45.888-0.16 2.336 0.352 0.096 0.064 0.32-0.384 0.704-4.192 5.28-18.112 21.056-29.216-5.248-8.544-10.112-1.344-2.816-1.216-3.456-0.96-4.16-0.32-3.936-0.096-4.096c-0.32-0.096-0.32-0.288-0.192-0.768l0.224-0.576 0.096-1.824 0.096-0.832 0.096-37.856c0-31.904 16.064-51.424 47.328-69.952l10.752-6.016 19.584-10.4 4.832-2.752c24.096-14.592 42.144-38.4 44.48-60l0.224-4.608C608 356 566.368 320 512.448 320c-46.144 0-92.736 36.704-96.224 69.6l-0.224 3.936a32 32 0 1 1-64 0C352 321.216 431.616 256 512.448 256z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconHelpCircle.defaultProps = {
  size: 18,
};

export default IconHelpCircle;
